<template>
  <div class="layout">
      <MHeader/>
      <SideBar :menuList="menuList"/>
      <PageBoard/>
  </div>
</template>

<script>
import {mapState} from 'vuex';
import MHeader from "@/components/Header.vue";
import SideBar from "@/components/SideBar.vue";
import PageBoard from "@/components/PageBoard.vue";
export default {
  name: "Layout",
  components: {
    MHeader,
    SideBar,
    PageBoard,
  },
    computed:{
    ...mapState('loginModule',['menuList'])
  },
};
</script>

<style>
</style>